#加密盐，越长越安全，但越长解密也就越慢
SECRET_KEY = "fdafaefafdasfgr"

HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'zhiliaooa_course'
USERNAME = 'root'
PASSWORD = '12345678'
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI


#邮箱配置
MAIL_SERVER = "smtp.qq.com"
MAIL_USE_SSL = False
MAIL_USE_PORT = 465
MAIL_USERNAME = "2177686531@qq.com"
MAIL_PASSWORD = "mtetvrxeoxejecag"
MAIL_DEFAULT_SENDER = "2177686531@qq.com"

#mtetvrxeoxejecag